Class ControllerManagerDelegatorFactory

Summary

Fully Qualified Name: Laminas\Mvc\Console\Service\ControllerManagerDelegatorFactory
Implements: DelegatorFactoryInterface

Description

Methods

Name Description Defined By
__invoke() Add a ControllerManager initializer to inject the console into AbstractConsoleController instances. ControllerManagerDelegatorFactory
createDelegatorWithName() Add a ControllerManager initializer to inject the console into AbstractConsoleController instances. (v2) ControllerManagerDelegatorFactory
injectConsole() Initializer: inject a Console instance into AbstractConsoleController instances. ControllerManagerDelegatorFactory

Method Details

__invoke()

Add a ControllerManager initializer to inject the console into AbstractConsoleController instances.

Parameter Name Type Description
$container \ContainerInterface
$name string
$callback callable
$options null|array

Returns: \Laminas\Mvc\Controller\ControllerManager

createDelegatorWithName()

Add a ControllerManager initializer to inject the console into AbstractConsoleController instances. (v2)

Parameter Name Type Description
$container \ServiceLocatorInterface
$name string
$requestedName string
$callback callable

Returns: \Laminas\Mvc\Controller\ControllerManager

injectConsole()

Initializer: inject a Console instance into AbstractConsoleController instances.

Parameter Name Type Description
$first \ContainerInterface|mixed ContainerInterface
$second mixed|\ServiceLocatorInterface Instance

Returns: void

Top